import React from 'react'
import { Outlet, useLocation } from 'react-router'
function index() {
    // eslint-disable-next-line react-hooks/rules-of-hooks
    const loation =useLocation()
    console.log(loation)
    return (
        <div>
            主页
            <Outlet></Outlet>
        </div>
    )
}

export default index
